package xyz.robinbingo.liquid;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import xyz.robinbingo.liquid.service.ExcelService;

/**
 * LiquidApplication
 *
 * @author Robin
 * @date 2018/10/29 16:45
 **/
@SpringBootApplication
public class LiquidApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(LiquidApplication.class, args);
        ExcelService bean = context.getBean(ExcelService.class);
        bean.handleExcel();
        context.close();

    }
}
